﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="navigation.aspx.cs" Inherits="财会系.navigation.navigation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" href="../../css/AdminCss.css" rel="stylesheet" />
    <script type="text/javascript" src="../../js/AdminJs.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="Div_Row">
            <h2>修改：导航</h2>
        </div>
        <div class="Div_Width_big_800 Div_Margin_top_10">
            <div>
                <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center Color_black bg_White Div_float_left">
                    导航名称
                </div>
                <div class="Div_Width_mid padding_5 Div_Height_Short Size_19 center Color_black bg_White Div_float_left">
                    外链网址
                </div>
                <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center Color_black bg_White Div_float_left">
                    顺序
                </div>
                <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center Color_black bg_White Div_float_left">
                    首页显示
                </div>
                <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center Color_black bg_White Div_float_left">
                    编辑
                </div>
            </div>
            <asp:Repeater ID="RpNav" runat="server" OnItemCommand="RpNav_ItemCommand">
                <ItemTemplate>
                    <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center  Color_black Div_float_left Mousemove_White">
                        <%#Eval("Name") %>
                        <asp:Label ID="lblId" runat="server" Text='<%#Eval("Id") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lblName" runat="server" Text='<%#Eval("Name") %>' Visible="false"></asp:Label>
                    </div>
                    <div class="Div_Width_mid padding_5 Div_Height_Short Size_19 center  Color_black Div_float_left Mousemove_White">
                        <a href='http://<%#Eval("WebAdress") %>' target="_blank">
                            <%#Eval("WebAdress") %></a>
                        <asp:Label ID="lblWebAdress" runat="server" Text='<%#Eval("WebAdress") %>' Visible="false"></asp:Label>
                    </div>
                    <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center  Color_black Div_float_left Mousemove_White">
                        <%#Eval("Sort") %>
                        <asp:Label ID="lblSort" runat="server" Text='<%#Eval("Sort") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lblShow" runat="server" Text='<%#Eval("Show") %>' Visible="false"></asp:Label>
                    </div>
                    <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center  Color_black Div_float_left Mousemove_White">
                        <%#Eval("Show") %>
                    </div>
                    <div class="Div_Width_short padding_5 Div_Height_Short Size_19 center  Color_black Div_float_left A_C_B Mousemove_White">
                        <asp:LinkButton ID="lbtnLook" runat="server" CommandArgument="">编辑</asp:LinkButton>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div class="Div_Size_mid_400 Div_Margin_top_10">
            <div class="Div_Row">
                <span>导航名称：</span>
                <asp:TextBox ID="txtName" runat="server" CssClass="TxtBox_mid_short"></asp:TextBox>
                <asp:TextBox ID="txtId" runat="server" Visible="false"></asp:TextBox>
            </div>
            <div class="Div_Row">
                <span>链接地址：</span>
                <asp:TextBox ID="txtWebAddress" runat="server" CssClass="TxtBox_mid_short"></asp:TextBox>
                <p class="P_Alt Size_12">
                    <t class="P_Note_Red">注：</t>
                    选填项，若有外链地址请输入正确的地址，若没有外链，请不要输入任何文字</p>
            </div>
            <div class="Div_Row">
                <span>显示顺序：</span>
                <asp:TextBox ID="txtSort" runat="server" CssClass="TxtBox_short_short_W50"></asp:TextBox>
            </div>
            <div class="Div_Row">
                <span>首页显示：</span>
                <asp:CheckBox ID="CboxShow" runat="server" Text="显示" />
            </div>
            <div class="Div_Row">
                <asp:Button ID="BtnSubmit" runat="server" Text="提交" CssClass="btn_Css" OnClick="BtnSubmit_Click" />
                <asp:Button ID="BtnRest" runat="server" Text="重置" CssClass="btn_Css" OnClick="BtnRest_Click" />
            </div>
        </div>
    </form>
</body>
</html>
